@(movies: List[Movie], movie: Movie, sessions: List[MovieSession], isHot: Boolean)(implicit lang: Lang)

@main("The Cult Cinema Inc. Movie"){

	<section style="padding-top:60px">
				<div class="row">
					<div class="span12">
						<ul class="breadcrumb">
							<li><a href="@routes.Application.index(lang.code)">@Messages("home")(lang)</a> <span class="divider">/</span></li>
							<li><a href="@routes.MovieManager.list(lang.code)">@Messages("movie")(lang)</a> <span class="divider">/</span></li>
		        			<li class="active">@movie.infos.get(0).name</li>
		        		</ul>
					</div>
				</div>

				@if(flash.contains("public")) {
					<div class="row">
						<div class="span12">
					    	<div class="alert-error alert alert-block">
					    		<a class="close">&times;</a>
					    		@Messages(flash.get("public"))(lang)
						    </div>
						</div>
					</div>
				}

				<div class="row">

					<div class="span3">
						<div class="well" style="padding: 8px 0;">
							<ul class="nav nav-list">
								<li class="nav-header">@Messages("movie.showing")(lang)</li>
								@movies.map { movie =>
									@if(movie.release_date.compareTo(new Date) <= 0){
										<li><a href="@routes.MovieManager.detail(movie.id)?lang=@lang.code">@movie.infos.get(0).name</a></li>
									}
								}
								<li class="divider"></li>
								<li class="nav-header">@Messages("movie.coming")(lang)</li>
								@movies.map { movie =>
									@if(movie.release_date.compareTo(new Date) > 0){
										<li><a href="@routes.MovieManager.detail(movie.id)?lang=@lang.code">@movie.infos.get(0).name</a></li>
									}
								}
							</ul>
						</div>
					</div>
					<div class="span9">
				        @listItem(movie,sessions,true)(lang)
					</div>
				</div>
  			</section>

}(lang)
